# PROD CONFIG


# APP服务
host = "0.0.0.0"
port = 8090

#triton http url
# url = "http://triton-server:8000/v2/models/paidan_129_cls/versions/1/infer"
# url = "http://172.31.30.3:8000/v2/models/paidan_129_cls/versions/1/infer"
device_type = "cpu"  # cuda:0、cuda:1、cpu
# device_type = "cuda" if torch.cuda.is_available() else "cpu"
label2idx_path = "data/2danwei_label.json"
danwei_id_path = "data/danwei2id.json"

keyword_path = "data/口径.xlsx"
# model
# category = 6
# max_len= 256
model_version="train_model/paidan_ai6_roberta_v1.pth"
# tokenizer
model_path =  'roberta_ch'


# log 日志
log_path = "logs_storage/app.log"
rotation_size = "500 MB"
retention_period = "10 days"
